package ai.people.netmon.framework.domain.archives.request;

import ai.people.netmon.framework.domain.archives.valid.GangGroupVoValidationGroup;
import ai.people.netmon.framework.domain.archives.vo.GangGroupInfoVO;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author zhenglin
 * @date 2022/6/22
 */
@Data
public class GangGroupSaveOrUpdateRequest {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = GangGroupVoValidationGroup.Update.class)
    private Long id;
    /**
     * 基本详情
     */
    @Valid
    GangGroupInfoVO baseInfo;

    /**
     * 组织关系
     */
    @Valid
    GangGroupOrgSaveOrUpdateRequest orgInfo;
}
